package com.caifu.pojo;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 系统标签表
 * </p>
 *
 * @author szt
 * @since 2020-11-17
 */
public class SysLogLabel extends Model<SysLogLabel> {

    private static final long serialVersionUID = 1L;

    /**
     * 标签编号(系统标签表)
     */
    @TableId("LABEL_NO")
    private String labelNo;

    /**
     * 标签名字
     */
    @TableField("LABEL_NAME")
    private String labelName;

    /**
     * 分类 sys1-组织架构
     */
    @TableField("TYPE")
    private String type;

    /**
     * 排序
     */
    @TableField("SORT")
    private Integer sort;

    public String getLabelNo() {
        return labelNo;
    }

    public void setLabelNo(String labelNo) {
        this.labelNo = labelNo;
    }
    public String getLabelName() {
        return labelName;
    }

    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    protected Serializable pkVal() {
        return this.labelNo;
    }

    @Override
    public String toString() {
        return "SysLogLabel{" +
        "labelNo=" + labelNo +
        ", labelName=" + labelName +
        ", type=" + type +
        ", sort=" + sort +
        "}";
    }
}
